<html>
<head></head>
<body>
<form role="form" action="login" method="post">
    <div class="form-group"><label for="username">Username:</label> <input type="text" class="form-control"
                                                                           id="username" name="username"/></div>
    <div class="form-group"><label for="password">Password:</label> <input type="password" class="form-control"
                                                                           id="password" name="password"/></div>
    <input type="hidden" id="csrf_token" name="${_csrf.parameterName}" value="${_csrf.token}"/>
    <button type="submit" class="btn btn-primary">Submit</button>
</form>

<form role="form" action="logout" method="post">
    <button type="submit" class="btn btn-primary">logout</button>
</form>
</body>
</html>

